﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mode
{
    public class InformationTypes
    {
        /// <summary>
        ///添加职员
        /// </summary>
        public const int AddEmployee = 0;

        /// <summary>
        ///删除职员
        /// </summary>
        public const int DeleteEmployee = 1;


        #region 基础协议
        /// <summary>
        /// 连接
        /// </summary>
        public const int Connection = 10101;
        /// <summary>
        /// 断开连接
        /// </summary>
        public const int DisConnection = 101002;
        /// <summary>
        /// 登录
        /// </summary>
        public const int Login = 101003;
        /// <summary>
        /// 操作数据库
        /// </summary>
        public const int OpreatingDb = 101004;
        /// <summary>
        /// 发送文件
        /// </summary>
        public const int SendFile = 101005;
        /// <summary>
        /// 发送消息到客户端
        /// </summary>
        public const int SendMessage = 101006;
        /// <summary>
        /// 获取在线用户
        /// </summary>
        public const int GetOnLineUser = 101007;
        /// <summary>
        /// 记录客户端操作日志
        /// </summary>
        public const int WriteActionLog = 101008;
        /// <summary>
        /// 心跳包
        /// </summary>
        public const int HeartBeat = 101009;
        /// <summary>
        /// 获取服务器时间
        /// </summary>
        public const int GetServerDataTime = 101010;
        /// <summary>
        /// 重新登录
        /// </summary>
        public const int ReLogin = 101011;
        #endregion
    }
}
